const args = process.argv;

for (let i = 2; i < args.length; i++) {
    console.log(args[i]);

    if(args[i] === "--a"){
        console.log("Option A was selected");
    } else if(args[i] === "--b"){
        console.log("Option B was selected");
    } else if(args[i] === "--c"){
        console.log("Option C was selected");
    } else {
        console.log("Unknown option: " + args[i]);
    }
}

console.log(process.memoryUsage()); 